A Formal Approach to Recovery by Compensating Transactions
نویسندگان
چکیده
Compensating transactions are intended to handle situations where it is required to undo either committed or uncommitted transactions that affect other transactions, without resorting to cascading aborts. This stands in sharp contrast to the standard approach to transaction recovery where cascading aborts are avoided by requiring transactions to read only committed data, and where committed transactions are treated as permanent and irreversible. We argue that this standard approach to recovery is not suitable for a wide range of advanced database applications, in particular those applications that incorporate long-duration or nested transactions. We show how compensating transactions can be effectively used to handle these types of applications. We present a model that allows the definition of a variety of types of correct compensation. These types of compensation range from traditional undo, at one extreme, to application-dependent, special-purpose compensating transactions, at the other extreme,
منابع مشابه
A Formal Approach to Recovery by Compensating Transactions
and in the same order (such a Y is a legitimate history since dep(T)'s programs are linear). If we can show that (8e 2 db : Y e (ex(S; Y)) R e X dep(T);e (S 0)), we can then use the transitivity of R to complete the proof. Since all programs in dep(T) are linear we can treat Y merely as a sequence of operations, regardless of the issuing transactions. Let f 1. . .f k be the sequence of all the ...
متن کاملFailure Handling in Transactional Work ows Utilizing
Transactional workkows have been previously speciied using commercially-available workkow management systems (WFMSs). WFMSs have facilitated this speciication by providing task coordination and execution capabilities. However, these WFMSs presently have limitations in terms of heterogeneous distributed system integration, non-proprietary cross-platform support, exible ACID property support, and...
متن کاملModelling and Verification of Compensating Transactions using the Spin Tool
Complex transactions are part of the most commonly used systems. Substantial part of such transactions are business transactions. Usually, they coordinate complex interaction among multiple systems, so called Long Running Transactions (LRT). Well known roll-back mechanism does not suffice to handle faults in LRTs, therefore compensation mechanisms are introduced. However, introduced structures ...
متن کاملThe impact of the expansion of virtual currencies (Bitcoin) on the amount of formal money demand (the country's money, rial) via CIA Model
The growing popularity of virtual currencies such as Bitcoin, an Internet innovation with a function similar to "fiat" money or government money, due to the high velocity and efficiency in transactions (especially overseas payments) as well as the elimination of the additional operating costs incurred by intermediaries attract the policymakers and global decision-making centers attention. The p...
متن کاملGeneral dynamic recovery for compensating CSP
Compensation is a technique to roll-back a system to a consistent state in case of failure. Recovery mechanisms for compensating calculi specify the order of execution of compensation sequences. Dynamic recovery means that the order of execution is determined at runtime. In this paper, we define an extension of Compensating CSP, called DEcCSP, with general dynamic recovery. We provide a formal,...
متن کامل